package org.jeecg.modules.data.service;

import org.jeecg.modules.data.entity.TDataReport;
import org.jeecg.modules.data.entity.TInvestigationRelease;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description: t_investigation_release
 * @Author: jeecg-boot
 * @Date:   2025-05-20
 * @Version: V1.0
 */
public interface ITInvestigationReleaseService extends IService<TInvestigationRelease> {

    /**
     * 更新状态
     * @param release
     */
    void updateStatus(TInvestigationRelease release);

    /**
     * 校验发布信息是否填报
     * @param releaseId
     * @return
     */
    Integer chkReport(String releaseId);

    /**
     * 校验同作物日期是否交集
     * @param release
     * @return
     */
    boolean chkDate(TInvestigationRelease release);
}
